package com.easysoft.commons.entity;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {
    private static final Long serialVersionUID = 1L;
    private String sendFrom;
    private String sendTo;
    private Object content;
    private Date date;

    /**
     * 0：下线 1：上线  2：聊天 3、私聊 9：获取在下列表
     */
    private int type;

    public Message() {
    }

    public String getSendFrom() {
        return sendFrom;
    }

    public void setSendFrom(String sendFrom) {
        this.sendFrom = sendFrom;
    }

    public String getSendTo() {
        return sendTo;
    }

    public void setSendTo(String sendTo) {
        this.sendTo = sendTo;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
